package com.example.egarticle.pojo.entity;

import lombok.Data;

import java.util.Date;
@Data
public class User {
//    id          BIGINT PRIMARY KEY AUTO_INCREMENT COMMENT '用户编号',
//    username    VARCHAR(20) COMMENT '用户名',
//    password    CHAR(80) COMMENT '密码',
//    nickname    VARCHAR(20) COMMENT '昵称',
//    create_time TIMESTAMP COMMENT '注册时间'
    private Long id;
    private String username;
    private String password;
    private String nickname;
    private Date createTime;

}
